<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登陆</title>
</head>
<body>
<form method="post" action="/login/">
    {%  csrf_token %}
    <br><input name="username" type="text" placeholder="用户名">
    <br><input name="password" type="password" placeholder="密码">
    {{error}}<br>
    <br><button id="submit" type="submit">登陆</button>
</form>
</body>
</html>